package com.domor.framework.config;

import lombok.extern.slf4j.Slf4j;
import org.springframework.boot.context.event.ApplicationReadyEvent;
import org.springframework.context.ApplicationListener;
import org.springframework.stereotype.Component;

/**
 * <h3>初始化执行</h3>
 * @author liyuyang
 * @date 2020/5/20
 */
@Slf4j
@Component
public class MyInitializer implements ApplicationListener<ApplicationReadyEvent> {

    @Override
    public void onApplicationEvent(ApplicationReadyEvent event) {
        log.info("初始化系统完成");
    }

}